from scrapy import Item, Field
class RawResponseItem(Item):
    appid = Field()
    crawlid = Field()
    url = Field()
    response_url = Field()
    status_code = Field()
    status_msg = Field()
    response_headers = Field()
    request_headers = Field()
    body = Field()
    links = Field()
    attrs = Field()
    success = Field()
    exception = Field()

class BlogResponseItem(RawResponseItem):
    search_keywords = Field()
    search_results = Field()
    recommend_results = Field()

class CommonResponseItem(RawResponseItem):
    data = Field()
    type = Field()
    ext_info = Field()